package su.samcom.calc.controller;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Владислав on 19.01.14.
 */
public class Chart {

    private List<double[]> points;

    public Chart() {
        this.points = new ArrayList<double[]>();
    }

    public void addPoint(double x, double y){
        double[] point = new double[]{x, y};
        points.add(point);
    }

    public List getPoints(){
        return points;
    }
}
